export default {
  path: "/forwarder",
  redirect: "/forwarder/index", // 修改为实际的子路由路径
  meta: {
    icon: "ri:information-line",
    title: "货代端管理",
    rank: 20
  },
  children: [
    {
      path: "/forwarder/index",
      name: "index",
      component: () => import("@/views/forwarder/index.vue"),
      meta: {
        title: "产品询价",
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/quote",
      name: "quote",
      component: () => import("@/views/forwarder/quote.vue"),
      meta: {
        title: "报价",
        showLink: false,
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/getQuote",
      name: "getQuote",
      component: () => import("@/views/forwarder/getQuote.vue"),
      meta: {
        title: "报价查询",
        showLink: false,
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/deliver",
      name: "deliver",
      component: () => import("@/views/forwarder/deliver.vue"),
      meta: {
        title: "发货信息",
        showLink: false,
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/Transactionorder",
      name: "Transactionorder",
      component: () => import("@/views/forwarder/Transactionorder.vue"),
      meta: {
        title: "成交订单管理",
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/Warehouse",
      name: "Warehouse",
      component: () => import("@/views/forwarder/Warehouse.vue"),
      meta: {
        title: "进仓库通知单",
        roles: ["forwarder"],
        showLink: false
      }
    },
    {
      path: "/forwarder/Document",
      name: "Document",
      component: () => import("@/views/forwarder/Document.vue"),
      meta: {
        title: "单据管理",
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/Reconciliation",
      name: "Reconciliation",
      component: () => import("@/views/forwarder/Reconciliation.vue"),
      meta: {
        title: "货代对账",
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/Freightforwarder",
      name: "Freightforwarder",
      component: () => import("@/views/forwarder/Freightforwarder.vue"),
      meta: {
        title: "查看货代对账",
        roles: ["forwarder"],
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
